import axios from 'axios'

export const findLoginLogPage = (current, size, loginLogVo) => {
  return axios({
    url: '/api/loginLog/findLoginLogPage',
    method: 'post',
    /*localhost:8080/user?id=  方式传值*/
    params: {
      current,
      size
    },
    /*json数据传值*/
    data: loginLogVo
  })
}

/*根据id删除文件*/
export const deleteLoginLogById = (id) => {
  return axios({
    url: '/api/loginLog/deleteLoginLogById',
    method: 'post',
    params: {
      id
    },
  })
}

/*根据id批量删除文件*/
export const deleteLoginLogsByIds = (ids) => {
  return axios({
    url: '/loginLog/deleteLoginLogsByIds',
    method: 'post',
    params: {
      ids
    },
  })
}
